//
//  UIimage+Extension.swift
//  IndustryPark
//
//  Created by Samuel on 2017/4/14.
//  Copyright © 2017年 RedSoft. All rights reserved.
//

import UIKit

public extension UIImage{
    private struct AssociatedKeys {
        static var qiniuKey = "qiniuKey"
    }
    
    public var qiniuKey: String? {
        get { return objc_getAssociatedObject(self, &AssociatedKeys.qiniuKey) as? String }
        set { objc_setAssociatedObject(self, &AssociatedKeys.qiniuKey, newValue, .OBJC_ASSOCIATION_RETAIN_NONATOMIC) }
    }
}
